func net/http.badStringError
13 uses
net/http (current package)
request.go#L95: func badStringError(what, val string) error { return fmt.Errorf("%s %q", what, val) }
request.go#L1108: return nil, badStringError("malformed HTTP request", s)
request.go#L1111: return nil, badStringError("invalid method", req.Method)
request.go#L1115: return nil, badStringError("malformed HTTP version", req.Proto)
response.go#L170: return nil, badStringError("malformed HTTP response", line)
response.go#L177: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L181: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L184: return nil, badStringError("malformed HTTP version", resp.Proto)
transfer.go#L316: return badStringError("invalid Trailer key", k)
transfer.go#L791: err = badStringError("bad trailer key", key)
transfer.go#L1064: return 0, badStringError("invalid empty Content-Length", cl)
transfer.go#L1068: return 0, badStringError("bad Content-Length", cl)
transport.go#L574: return nil, badStringError("unsupported protocol scheme", scheme)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |